package com.weizai.carshop.model.dto;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.weizai.carshop.model.config.LocalDateTimeConfig;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ShopCateDto {

    private Long id;

    private String title;

    @JsonSerialize(using = LocalDateTimeConfig.LocalDateTimeSerializer.class)
    private Long createTime;

    @JsonSerialize(using = LocalDateTimeConfig.LocalDateTimeSerializer.class)
    private Long updateTime;

}
